<html>
<body>


<div style="width:100%;text-align:center">
    <form action="upload.php" method="post"
          enctype="multipart/form-data">
        <label for="file">请选择文件：</label>
        <input type="file" name="file" id="file" />
        <br /><br />
        <label>图片名</label><textarea type="text" name='pic_name' style="width:250px;height:20px;"></textarea>
        <label>图片说明</label><textarea type="text" name='pic_instr' style="width:250px;height:60px;"></textarea>
        <input type="submit" name="submit" value="提交" />
    </form>


</div>

</body>
</html>
<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2016/11/23
 * Time: 10:28
 */